<div id="basicListing">
  <h1>Listing tasks</h1>
  <%= will_paginate @tasks %>
  <%= render :partial => 'taskList', :locals => { :tasks => @tasks} %>
  <br />
  <%= link_to 'New task', new_task_path %>
</div>